package work.konbai.education.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 作业 验收 数据传输类
 *
 * @author KonBAI
 * @version 1.0
 * Create by 2021/3/9 14:57
 */
@Data
public class CheckDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "作业ID")
	@NotNull(message = "请选择作业表")
	@JsonSerialize(using= ToStringSerializer.class)
	private Long homeworkId;

	@ApiModelProperty(value = "学员ID集合")
	@NotNull(message = "请选择学员")
	@JsonSerialize(using=ToStringSerializer.class)
	private List<Long> studentIdList;
}
